package com.itheima02;

import java.util.Objects;

public class Work08 {
    public static void main(String[] args) {
        Student3 str1 = new Student3("张三", 17, "男");
        Student3 str2 = new Student3("张三", 17, "男");
        System.out.println(Objects.equals(str1, str2));
    }
}
